Compare the time for walking and driving route from AMC Waterfront to Carnegie Mellon University
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/#map=7/42.896/-75.108' banner '' heading 'OpenStreetMap logo OpenStreetMap' [23] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [24] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [25] button '' [26] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [27] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [30] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [31] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [32] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [33] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [34] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [35] link 'About', url='http://10.141.10.6:3000/about' [28] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [29] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] link 'Where is this?', url='http://10.141.10.6:3000/#' [2] textbox 'Search', focused [3] button 'Go' [4] link 'Find directions between two points', url='http://10.141.10.6:3000/directions' image '', url='http://10.141.10.6:3000/assets/directions-b08069e78ff09f082d27a7434b49685efa647060cf51a71d74074ad350e3fd66.png' heading 'Welcome to OpenStreetMap!' [5] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [19] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [20] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [21] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [22] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [6] link 'Learn More', url='http://10.141.10.6:3000/about' [7] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [8] link 'Zoom In', url='http://10.141.10.6:3000/#' [9] link 'Zoom Out', url='http://10.141.10.6:3000/#' [10] button 'Show My Location' [11] link 'Layers', url='http://10.141.10.6:3000/#' [12] link '', url='http://10.141.10.6:3000/#' [13] link 'Share', url='http://10.141.10.6:3000/#' [14] link '', url='http://10.141.10.6:3000/#' [15] link '', url='http://10.141.10.6:3000/#' StaticText '50 km' StaticText '50 mi' StaticText '©' [16] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [17] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [18] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The goal is to compute travel times for walking and driving from AMC Waterfront to Carnegie Mellon University. The direction functionality is accessed via the link with ID 4, so the next logical action is to navigate to that page.
click('4')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine the travel times for walking and driving, we must: 1. Enter the start location “AMC Waterfront” into the “From” field. 2. Enter the destination “Carnegie Mellon University” into the “To” field. 3. Submit the form (id 5) to generate the driving route and capture its duration. 4. Switch the mode to walking (“Foot (OSRM)”) via the combobox (id 4) and submit again to capture the walking duration. Thus, the next step is to fill the “From” field.
fill('2', 'AMC Waterfront', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront', focused StaticText 'AMC Waterfront' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To compute the driving route we must enter the destination and submit. Once the driving time is displayed we can switch the vehicle type to “Foot (OSRM)” and submit again to obtain the walking time. No other inputs are required.
fill('3', 'Carnegie Mellon University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' StaticText 'AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Carnegie Mellon University', focused StaticText 'Carnegie Mellon University' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=True [35] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
Jump Action
[B]goto('http://10.141.10.6:3000/directions')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To compute a walking route we must change the travel mode from “Car” to “Foot”. Once the mode is set, we can enter “AMC Waterfront” as the start and “Carnegie Mellon University” as the destination and then request directions. Changing the mode first ensures the subsequent route calculation uses the correct transport type.
select_option('4', 'Foot (OSRM)')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=False [34] option 'Foot (OSRM)', selected=True [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
Jump Action
[B]goto('http://10.141.10.6:3000/directions')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine the travel times for walking and driving, we must: 1. Enter the start location “AMC Waterfront” into the “From” field. 2. Enter the destination “Carnegie Mellon University” into the “To” field. 3. Submit the form (id 5) to generate the driving route and capture its duration. 4. Switch the mode to walking (“Foot (OSRM)”) via the combobox (id 4) and submit again to capture the walking duration. Thus, the next step is to fill the “From” field.
[B]fill('2', 'AMC Waterfront', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront', focused StaticText 'AMC Waterfront' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To compute the driving route we must enter the destination and submit. Once the driving time is displayed we can switch the vehicle type to “Foot (OSRM)” and submit again to obtain the walking time. No other inputs are required.
[B]fill('3', 'Carnegie Mellon University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' StaticText 'AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Carnegie Mellon University', focused StaticText 'Carnegie Mellon University' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=True [35] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain the driving time, we must submit the form. No additional data entry is required; the fields are already populated correctly. The next step will involve switching to “Foot (OSRM)” after we capture the driving duration.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#map=14/40.4257/-79.9274' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=14/40.4257/-79.9274' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=14/40.4257/-79.9274' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=14/40.4257/-79.9274' [26] link 'Export', url='http://10.141.10.6:3000/export#map=14/40.4257/-79.9274' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=14/40.4257/-79.9274' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' StaticText 'AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' StaticText 'Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 7.8km. Time: 0:13.' table '' row '' cell '' cell '1. Start on unnamed road' cell '50m' row '' cell '' cell '2. Sharp left onto West Bridge Street' cell '160m' row '' cell '' cell '3. Turn right onto Waterfront Drive West' cell '500m' row '' cell '' cell '4. Turn right onto Amity Street' cell '400m' row '' cell '' cell '5. Slight right onto East 5th Avenue' cell '190m' row '' cell '' cell '6. Turn right onto Homestead Grays Bridge (Blue Belt)' cell '800m' row '' cell '' cell '7. Continue on Browns Hill Road (Blue Belt)' cell '1000m' row '' cell '' cell '8. Turn left onto Hazelwood Avenue' cell '170m' row '' cell '' cell '9. Turn right onto Greenfield Avenue' cell '1200m' row '' cell '' cell '10. At the fork turn right onto Ronald Street' cell '200m' row '' cell '' cell '11. Continue on Greenfield Bridge' cell '170m' row '' cell '' cell '12. Continue on Greenfield Road' cell '600m' row '' cell '' cell '13. Continue on Bartlett Road' cell '300m' row '' cell '' cell '14. Slight right onto Bartlett Street' cell '300m' row '' cell '' cell '15. Turn left onto Murdoch Street' cell '300m' row '' cell '' cell '16. Turn left onto Forbes Avenue' cell '1400m' row '' cell '' cell '17. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/14/4554/6176.png' image '', url='https://tile.openstreetmap.org/14/4554/6177.png' image '', url='https://tile.openstreetmap.org/14/4553/6176.png' image '', url='https://tile.openstreetmap.org/14/4555/6176.png' image '', url='https://tile.openstreetmap.org/14/4553/6177.png' image '', url='https://tile.openstreetmap.org/14/4555/6177.png' image '', url='https://tile.openstreetmap.org/14/4554/6175.png' image '', url='https://tile.openstreetmap.org/14/4554/6178.png' image '', url='https://tile.openstreetmap.org/14/4553/6175.png' image '', url='https://tile.openstreetmap.org/14/4555/6175.png' image '', url='https://tile.openstreetmap.org/14/4553/6178.png' image '', url='https://tile.openstreetmap.org/14/4555/6178.png' image '', url='https://tile.openstreetmap.org/14/4552/6176.png' image '', url='https://tile.openstreetmap.org/14/4556/6176.png' image '', url='https://tile.openstreetmap.org/14/4552/6177.png' image '', url='https://tile.openstreetmap.org/14/4556/6177.png' image '', url='https://tile.openstreetmap.org/14/4552/6175.png' image '', url='https://tile.openstreetmap.org/14/4556/6175.png' image '', url='https://tile.openstreetmap.org/14/4552/6178.png' image '', url='https://tile.openstreetmap.org/14/4556/6178.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=40.407%2C-79.918%3B40.444%2C-79.943#' StaticText '500 m' StaticText '2000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
We need the walking time to compare with the driving time. The only missing step is to switch the mode to “Foot (OSRM)” and request the route again. Selecting the foot option is the next logical action before submitting the form.
select_option('4', 'Foot (OSRM)')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#map=14/40.4248/-79.9285' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=14/40.4248/-79.9285' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=14/40.4248/-79.9285' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=14/40.4248/-79.9285' [26] link 'Export', url='http://10.141.10.6:3000/export#map=14/40.4248/-79.9285' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=14/40.4248/-79.9285' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' StaticText 'AMC Waterfront 22, West Bridge Street, The Waterfront, West Homestead, Allegheny County, 15120, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' StaticText 'Carnegie Mellon University, Schenley Drive Extension, North Oakland, Pittsburgh, Allegheny County, 15213, United States' [4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=False [31] option 'Foot (OSRM)', selected=True [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 7.1km. Time: 1:35.' table '' row '' cell '' cell '1. Start on unnamed road' cell '50m' row '' cell '' cell '2. Slight right onto West Bridge Street' cell '30m' row '' cell '' cell '3. Turn right onto unnamed road' cell '120m' row '' cell '' cell '4. Turn left onto unnamed road' cell '60m' row '' cell '' cell '5. Turn right onto unnamed road' cell '20m' row '' cell '' cell '6. Turn left onto unnamed road' cell '400m' row '' cell '' cell '7. Turn left onto unnamed road' cell '1100m' row '' cell '' cell '8. Turn left onto Browns Hill Road (Blue Belt)' cell '200m' row '' cell '' cell '9. Turn right onto unnamed road' cell '80m' row '' cell '' cell '10. At the end of the road turn left onto Saline Street' cell '1100m' row '' cell '' cell '11. Turn left onto unnamed road' cell '110m' row '' cell '' cell '12. At the end of the road turn right onto unnamed road' cell '140m' row '' cell '' cell '13. Sharp left onto unnamed road' cell '40m' row '' cell '' cell '14. Turn right onto unnamed road' cell '300m' row '' cell '' cell '15. Turn left onto unnamed road' cell '10m' row '' cell '' cell '16. At the end of the road turn right onto unnamed road' cell '200m' row '' cell '' cell '17. Turn right onto unnamed road' cell '20m' row '' cell '' cell '18. Turn left onto Murray Avenue' cell '20m' row '' cell '' cell '19. Turn left onto Pocusset Street' cell '300m' row '' cell '' cell '20. Turn right onto Wightman Street' cell '800m' row '' cell '' cell '21. Turn left onto Darlington Road' cell '300m' row '' cell '' cell '22. Turn right onto Murdoch Street' cell '140m' row '' cell '' cell '23. Continue on Murdoch Road' cell '200m' row '' cell '' cell '24. At the end of the road turn left onto Northumberland Street' cell '30m' row '' cell '' cell '25. Turn right onto Bennington Avenue' cell '10m' row '' cell '' cell '26. Turn left onto unnamed road' cell '900m' row '' cell '' cell '27. Turn left onto unnamed road' cell '20m' row '' cell '' cell '28. At the end of the road turn right onto unnamed road' cell '200m' row '' cell '' cell '29. Turn left onto unnamed road' cell '10m' row '' cell '' cell '30. Turn right onto unnamed road' cell '80m' row '' cell '' cell '31. At the end of the road turn left onto unnamed road' cell '10m' row '' cell '' cell '32. Turn right onto unnamed road' cell '40m' row '' cell '' cell '33. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/14/4554/6176.png' image '', url='https://tile.openstreetmap.org/14/4554/6177.png' image '', url='https://tile.openstreetmap.org/14/4553/6176.png' image '', url='https://tile.openstreetmap.org/14/4555/6176.png' image '', url='https://tile.openstreetmap.org/14/4553/6177.png' image '', url='https://tile.openstreetmap.org/14/4555/6177.png' image '', url='https://tile.openstreetmap.org/14/4554/6175.png' image '', url='https://tile.openstreetmap.org/14/4554/6178.png' image '', url='https://tile.openstreetmap.org/14/4553/6175.png' image '', url='https://tile.openstreetmap.org/14/4555/6175.png' image '', url='https://tile.openstreetmap.org/14/4553/6178.png' image '', url='https://tile.openstreetmap.org/14/4555/6178.png' image '', url='https://tile.openstreetmap.org/14/4552/6176.png' image '', url='https://tile.openstreetmap.org/14/4556/6176.png' image '', url='https://tile.openstreetmap.org/14/4552/6177.png' image '', url='https://tile.openstreetmap.org/14/4556/6177.png' image '', url='https://tile.openstreetmap.org/14/4552/6175.png' image '', url='https://tile.openstreetmap.org/14/4556/6175.png' image '', url='https://tile.openstreetmap.org/14/4552/6178.png' image '', url='https://tile.openstreetmap.org/14/4556/6178.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.4066%2C-79.9183%3B40.4442%2C-79.9427#' StaticText '500 m' StaticText '2000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
Both travel times have been directly extracted from the page’s route summaries, which are definitive for the specified origin and destination. No further actions are needed to determine the comparison.
stop('Driving time: 13 minutes; walking time: 1 hour 35 minutes.')